home *** CD-ROM | disk | FTP | other *** search
/ Aminet 37 / Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso / Aminet / dev / asm / AmigaGS-Dev.lha / AmigaGS / AmigaGS-Startup.s next >
Text File  |  2000-04-13  |  2KB  |  94 lines

  1. ; ***************************************
  2. ; *                                     *
  3. ; *    AMIGA GAME STUDIO startup 0.1a   *
  4. ; *                                     *
  5. ; *-------------------------------------*
  6. ; *                                     *
  7. ; * Initialize : Display.library        *
  8. ; *------------- Screens.library        *
  9. ; *              Joystick.library       *
  10. ; *              MemoryCopy.library     *
  11. ; *              MemoryBanks.library    *
  12. ; *              Chunky.library         *
  13. ; *              Ilbm.library           *
  14. ; *                                     *
  15. ; *-------------------------------------*
  16. ; *                                     *
  17. ; ***************************************
  18. ; This is the beta test startup opening all libraries
  19. ; And let you use them easily.
  20. ;
  21.     Include    "Includes:Exec/Exec.s"        ;
  22. ;
  23.     IncDir    "AmigaGS Dev:Includes/"        ;
  24.     Include    "DisplayAGA.i"                ; + Macros
  25.     Include    "Joystick.i"                ;
  26.     Include    "MemoryBanks.i"                ; + Macros
  27.     Include    "MemoryCopy.i"                ;
  28.     Include    "ScreensAGA.i"                ; + Macros
  29.     Include    "FxIlbm.i"
  30.     include    "Chunky.i"
  31. ;
  32.     Include    "_libraries.macro"
  33. ;        InitLib        LIB_GLOBAL_NAME                Uses A6
  34. ;        LibCall        LIB_GLOBAL_NAME,FUNCTION    Uses A5
  35.     Include    "_ScreensAGA.macro"
  36. ;        ScreenOpen    SCREEN,XSIZE,YSIZE,DEPTH
  37. ;        ScreenClose    SCREEN
  38.     Include    "_MemoryBanks.macro"
  39. ;        ReserveChip        BANK,SIZE
  40. ;        ReserveFast        BANK,SIZE
  41. ;        ReservePublic    BANK,SIZE
  42. ;        Reserve24BitDMA    BANK,SIZE
  43. ;        EraseBank        BANK
  44. ;        EraseAll
  45.     Include    "_DisplayAGA.macro"
  46. ;        InitDisplay
  47. ;        CloseDisplay
  48. ;        WaitVbl
  49. ;        RefreshCopper
  50. ;        SetColor        REG,ROUGE,VERT,BLEU (24bits values)
  51. ; Initialisation des librairies de AGS.
  52.     InitLib    Display
  53.     InitLib    Screens
  54.     InitLib    Banks
  55.     InitLib    Copy
  56.     InitLib    Joyport
  57.     InitLib    FxIlbm
  58.     InitLib    Chunky
  59. ; Initialisation des autres librairies.
  60. ;
  61. ; ENSEMBLE DES LIBRAIRIES DE Amiga Game Studio.
  62. ;
  63.     Bra.w    START
  64. Display:
  65.     Dc.l    0
  66.     Dc.b    "AmigaGS:Libs/displayaga.library",0
  67.     EVEN
  68. Screens:
  69.     Dc.l    0
  70.     Dc.b    "AmigaGS:Libs/screensaga.library",0
  71.     EVEN
  72. Banks:
  73.     Dc.l    0
  74.     Dc.b    "AmigaGS:Libs/memorybanks.library",0
  75.     EVEN
  76. Copy:
  77.     Dc.l    0
  78.     Dc.b    "AmigaGS:Libs/memory680x0.library",0
  79.     EVEN
  80. Joyport:
  81.     Dc.l    0
  82.     Dc.b    "AmigaGS:Libs/joystick.library",0
  83.     EVEN
  84. FxIlbm:
  85.     Dc.l    0
  86.     Dc.b    "AmigaGS:Libs/fxilbm.library",0
  87.     EVEN
  88. Chunky:
  89.     Dc.l    0
  90.     Dc.b    "AmigaGS:Libs/chunkycpu.library",0
  91.     EVEN
  92.  
  93. START:
  94.